﻿#region Using
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
#endregion

#region Namespace
namespace eLoje
{
    /// <summary>
    /// Interaction logic for UCMedidaNew.xaml
    /// </summary>
    #region Classe
    public partial class UCMedidaList : UserControl
    {
        #region Contrutores
        public UCMedidaList()
        {
            InitializeComponent();
        }
        #endregion

        #region Eventos
        #endregion

        #region Metodos
        private void loadGrid()
        {

        }
        #endregion

        public delegate void BotaoClicadoEventHandler(object sender, BotaoArgs e);
        public event BotaoClicadoEventHandler BotaoClicado;

        private void btnNovaMedida_Click(object sender, RoutedEventArgs e)
        {
            //BotaoArgs argumentos = new BotaoArgs();
            //argumentos.BotaoSelecionado = "NOVA_MEDIDA";
            BotaoClicado(this, BotaoArgs.NOVA_MEDIDA);
        }
    }

    public enum BotaoArgs //: EventArgs
    {
        //public string BotaoSelecionado { get; set; }
        NOVA_MEDIDA
    }
#endregion
}
#endregion